SERVICE_NAME = smsapi
SERVICE_CNAME = 短信API
MYSQL_USER = qiyunxin
MYSQL_PASSWORD = 123456
MYSQL_DATABASE = sampledb
MYSQL_SERVICE_NAME = mysql$(SERVICE_NAME)
build:
	oc project qiyunxin
	oc create -f pv_hfs.yaml
	oc create -f list.yaml
prepare: 
	mkdir -p /data/config/$(SERVICE_NAME)/
	chmod -R 777 /data/config/$(SERVICE_NAME)/
	cp -rf config/* /data/config/$(SERVICE_NAME)/	
uninstall:
	oc project qiyunxin
	oc delete -f pv_hfs.yaml
	oc delete -f list.yaml